package points 
{
	import constants.utils;
	import flash.filters.GlowFilter;
	/**
	 * ...
	 * @author parasitic
	 */
	public class FilterPoint extends DrawPoint 
	{
		protected var filterArray:Array = new Array();
		
		public function refresh():void
		{
			filters = filterArray;
		}
		
		public function clear(n:int = 0):void
		{
			utils.arrayClear(filterArray, n);
		}
		
		public function addFilter(color:uint, alpha:Number, blur:Number, inner:Boolean, knockout:Boolean):void
		{
			filterArray.push( new GlowFilter(color, alpha, blur, blur, 2, 1, inner, knockout));
		}
	}

}